\documentclass[a4paper,12pt]{report}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\usepackage{enumitem}
\usepackage[superscript]{cite}

% Haskell code configuration
\lstnewenvironment{code}{\lstset{
    language=Haskell,basicstyle=\footnotesize\ttfamily}}{}

% Document start
\begin{document}
\input{./title.tex}

\chapter*{Preface}
\input{./preface.tex}
\newpage

\chapter*{Abstract}
\input{./abstract.tex}
\chapter*{Sammanfattning}
\input{./sammanfattning.tex}
\newpage

\tableofcontents
\newpage

\chapter{Introduction}
\input{./intro.tex}
\newpage

\chapter{Technical Background}
\input{./nesback.tex}
\newpage

\chapter{Implementation}
\input{./implementation.tex}
\newpage

\chapter{Discussion}
\input{./discuss.tex}
\newpage

\chapter{Conclusion}
\input{./conclude.tex}
\newpage

% References
\input{./refs.tex}
\newpage

% Appendicies
\input{./appendix.tex}
\newpage

\end{document}
